package com.irdstudio.apicenter.gateway.web.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.irdstudio.apicenter.gateway.comm.MaccsPacket;
import com.irdstudio.apicenter.gateway.comm.MaccsPacketUtil;
import com.irdstudio.apicenter.gateway.web.MaccsException;
import com.irdstudio.apicenter.gateway.web.MaccsTradeDefineVo;
import com.irdstudio.apicenter.gateway.web.view.JsonView;
import com.irdstudio.apicenter.gateway.web.view.View;
/**
 * 用户信息同步交易
 * 		外部系统将新增或修改的用户信息发给移动应用以进行同步
 * @author zs.ligm
 * @version 1.0
 * @date 2015-09-21
 */
public class UserInfoSync implements IController{
	
	/* 文本日志输出 */
	private static final Logger logger = LoggerFactory
			.getLogger(UserInfoSync.class);

	@Override
	public View execute(MaccsTradeDefineVo tradeDefine, MaccsPacket inPacket,
			HttpServletRequest request, HttpServletResponse response)
			throws MaccsException {
		// TODO Auto-generated method stub
		return new JsonView(request,response,MaccsPacketUtil.makeSuccessPacket());
	}

}
